package com.gagakuai.bpm.service.camunda.impl;


import com.gagakuai.bpm.dao.mapper.camunda.ActGeBytearrayMapper;
import com.gagakuai.bpm.domian.entity.camuda.WorkflowDefinetion;
import com.gagakuai.bpm.service.camunda.ActGeBytearrayService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ActGeBytearrayServiceImpl implements ActGeBytearrayService {

    @Resource
    private ActGeBytearrayMapper actGeBytearrayMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return actGeBytearrayMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(WorkflowDefinetion record) {
        return actGeBytearrayMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(WorkflowDefinetion record) {
        return actGeBytearrayMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(WorkflowDefinetion record) {
        return actGeBytearrayMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(WorkflowDefinetion record) {
        return actGeBytearrayMapper.insertSelective(record);
    }

    @Override
    public WorkflowDefinetion selectByPrimaryKey(String id) {
        return actGeBytearrayMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(WorkflowDefinetion record) {
        return actGeBytearrayMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(WorkflowDefinetion record) {
        return actGeBytearrayMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<WorkflowDefinetion> list) {
        return actGeBytearrayMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<WorkflowDefinetion> list) {
        return actGeBytearrayMapper.batchInsert(list);
    }

}

